<?php 
namespace app\index\event;

class Blog {

    public function add($data) {
        echo "add ".$data;
    }

}